package com.pxmeta.dynamic.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UpdatePermissionDTO {
    @NotNull(message = "动态id不能为空")
    @ApiModelProperty(value = "动态id")
    private Long dynamicId;

    @NotNull(message = "查看权限不能为空")
    @ApiModelProperty(value = "查看权限:1所有人可见, 2本圈子可见, 3仅主页可见, 4仅陌生人可见, 5仅自己可见")
    private Integer viewPermission;
}
